<?php
$dir = dirname(__FILE__);
$path = '/data/runtime/Logs/ApiWF/';
$date = date('y_m_d');
$path = $dir.$path.$date.'.log';

$myfile = fopen($path, "r") or die("Unable to open file!");
$string = fread($myfile,filesize($path));

echo "<pre>$string</pre>";

fclose($myfile);
